﻿<TabItem x:Class="BackstageCompanyItem"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:Fluent="clr-namespace:Fluent;assembly=Fluent"
             xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="660" Style="{DynamicResource InnerBackstageTabCotrolItem}">
    <TabControl Style="{DynamicResource InnerBackstageTabControlStyle}" Name="ChangeCompanyTab" Margin="5,0,0,0" SelectedIndex="0">
        <Fluent:SeparatorTabItem Header="CompanyName:" MinWidth="160" Width="{Binding ElementName=ChangeCompanyTab, Path=ActualWidth}" Name="SeparatorItem" />
        <TabItem>
            <TabItem.Header>
                <StackPanel Orientation="Horizontal">
                    <Image Source="pack://application:,,,/Biller;component/Images/infoaddress.png" Width="48" Height="48" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,0,4,0"></Image>
                    <StackPanel Name="StackPanelInfo">
                        <TextBlock>Firmendaten:</TextBlock>
                    </StackPanel>
                </StackPanel>
            </TabItem.Header>
        </TabItem>
        <TabItem Name="ChangeCompanyItem">
            <TabItem.Header>
                <StackPanel Orientation="Horizontal">
                    <Image Source="pack://application:,,,/Biller;component/Images/reload.png" Width="48" Height="48" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,0,4,0"></Image>
                    <TextBlock>Firma wählen<LineBreak/>
                        <Run Foreground="DimGray">Schließt die aktuelle Firma und lädt die neuen Datenbanken.</Run>
                    </TextBlock>
                </StackPanel>
            </TabItem.Header>
        </TabItem>
    </TabControl>
</TabItem>
